Skip to main content

Get Event Logs by Address and/or Topic(s)

GET 

https://api.fuse.io/api/v0/explorer/?module=logs&action=getLogs

Get Event Logs by Address and/or Topic(s)

Request

Query Parameters

    module stringrequired

    Possible values: [logs]

    action stringrequired

    Possible values: [getLogs]

    fromBlock integerrequired
    toBlock integerrequired
    address stringrequired
    topic0 stringrequired
    topic1 string
    topic2 string
    topic3 string
    topic0_1_opr string

    Possible values: [and, or]

    topic0_2_opr string

    Possible values: [and, or]

    topic0_3_opr string

    Possible values: [and, or]

    topic1_2_opr string

    Possible values: [and, or]

    topic1_3_opr string

    Possible values: [and, or]

    topic2_3_opr string

    Possible values: [and, or]

    apiKey stringrequired
    Example: pk_1234567890

Responses

OK

Schema
    message string
    result object[]
  • Array [
  • address string
    blockNumber string
    data string
    gasPrice string
    gasUsed string
    logIndex string
    timeStamp string
    topics string[]
    transactionHash string
    transactionIndex string
  • ]
  • status string
curl -L -X GET 'https://api.fuse.io/api/v0/explorer' \
-H 'Accept: application/json'
Request Collapse all
Base URL
https://api.fuse.io/api/v0/explorer
Parameters
— queryrequired
— queryrequired
— queryrequired
— queryrequired
— queryrequired
— queryrequired
— queryrequired
— query
— query
— query
— query
— query
— query
— query
— query
— query
ResponseClear

Click the Send API Request button above and see the response here!

Was this page helpful?